<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    span {
      background-color: orange;
      float: left;
    }
  </style>
</head>

<body>
  <!-- 将多个行内级元素中间的空格去除 
  1.删除换行符
  2.将父级元素的字体大小设置为0
  3.设置浮动
  4.flex布局 
  -->
  <div class="box">
    <span>aaa</span>
    <span>bbb</span>
    <span>ccc</span>
  </div>
</body>

</html>